package cn.kgc.ubagnet.service.address;

import cn.kgc.ubagnet.pojo.Address;

import java.util.List;

public interface AddressService {
    //根据userId查询所有地址
    public List<Address> AddressList(Integer userId);

    //根据Id查询所有地址
    public Address AddressById(Integer Id);

    //添加地址
    public int AddAddress(Address address);

    //修改地址
    public int UpdateAddress(Address address);

    //删除地址
    public int delAddress(Integer id);
}
